import request from '@/utils/request'

// 查询项目列表
export function listProject(query) {
  return request({
    url: 'project/project/projectList',
    method: 'get',
    params: query
  })
}
// 新增项目
export function addProject(data) {
  return request({
    url: 'project/project/addProject',
    method: 'post',
    data: data
  })
}
// 新增项目流程
export function addStage(data) {
  return request({
    url: 'project/project/addStage',
    method: 'post',
    data: data
  })
}

